package model;

import common.GridCoordinate;

/**
 * @author Colin
 * 
 * The PlayableItem class was designed to contain the items that 
 * can be placed on the the map.
 * This class can specify a position in GridCoordinates on the map.
 * 
 */
public abstract class PlayableItem extends Item {

	private GridCoordinate position;
	
	public PlayableItem(String name, String imageName, int cost){
		super(name, imageName, cost);
	}
	
	public PlayableItem(String name, String imageName, int cost, GridCoordinate pos){
		super(name, imageName, cost);
		
		position = pos;
	}
	
	public GridCoordinate getPosition(){
		return position;
	}
	
	public void setPosition( GridCoordinate pos ){
		position = pos;
	}
	
}
